package com.sf.fy.uav.common.response.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sf.fy.uav.common.response.shopping.CommodityResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author LTQ
 * @since 2023-04-04
 */
@Data
public class RescueOrderResponse implements Serializable {

    private String id;

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;


    @ApiModelProperty("实际支付金额")
    private BigDecimal pricePaid;

    @ApiModelProperty("快递费")
    private BigDecimal expressFee;

    @ApiModelProperty("总购买数量")
    private Integer totalCnt;


    @ApiModelProperty("购买的商品列表")
    private List<CommodityResponse> commodityResponses;

}
